<?php 
session_start();
include_once('db.php');
$db=new DB();
$id=$_SESSION['id'];
$sql="select * from manager where $id=id";
$res=$db->get($sql);
 ?>
 <!DOCTYPE html>
<html>
<head>
	<title></title>
	<meta charset="UTF-8">
	<link href="bootstrap.min.css" rel="stylesheet">
<script src="jquery.min.js"></script>
<script src="bootstrap.min.js"></script>
<meta name="viewport" content=" width=device-width,initial-scale=1.0">
</head>
<body>
	<div class="container">
		<div class="public-nav">您当前的位置：<a href="">管理员管理</a></div>
		<div class="public-content">
			<div class="public-content-header">
				<h3>个人信息管理</h3>
			</div>
			<div class="row clearfix">
				<div class="col-md-12 column">
<table width="600" border="1" class="table table-bordered">
		<tr>
		<td  class="active">ID</td>
		<td class="success"><?php echo $res[0][0]; ?></td>
		</tr>
		<tr>
		<td  class="active">名称</td>
		<td class="success"><?php echo $res[0][1]; ?></td>
		</tr>
		<tr>
		<td  class="active">密码</td>
		<td class="success"><?php echo $res[0][2]; ?></td>
		</tr>
        <tr>
		<td  class="active">邮箱</td>
		<td class="success"><?php echo $res[0][3]; ?></td>
		</tr>
		<tr>
		<td  class="active">注册时间</td>
		<td class="success"><?php echo $res[0][4]; ?></td>
		</tr>
		<tr>
		<td  class="active">操作</td>
		<td class="success"><a href="admin_modify.php?act=update&id=$id">修改</a>&nbsp;&nbsp;<a href='admin_delete.php?act=del&id=$id'>删除</a></td>
		</tr>
	</table> 
	</div>
	</div>
	</div>
</body>
</html>